package tour.factory.Table;

import android.os.Parcel;
import android.os.Parcelable;

public class Theme  implements Parcelable
{
	
	public Theme() {
		super();
	}
	
	public Theme(String id, String location, String theme, String category,
			String name, String call, String homepage, String photo,
			String address, String holiday, String rating, String service_hour,
			String explanation, String subTitle, String package_type) {
		super();
		this.id = id;
		this.location = location;
		this.theme = theme;
		this.category = category;
		this.name = name;
		this.call = call;
		this.homepage = homepage;
		this.photo = photo;
		this.address = address;
		this.holiday = holiday;
		this.rating = rating;
		this.service_hour = service_hour;
		this.explanation = explanation;
		this.subTitle = subTitle;
		this.package_type = package_type;
	}




	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getTheme() {
		return theme;
	}
	public void setTheme(String theme) {
		this.theme = theme;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCall() {
		return call;
	}
	public void setCall(String call) {
		this.call = call;
	}
	public String getHomepage() {
		return homepage;
	}
	public void setHomepage(String homepage) {
		this.homepage = homepage;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getHoliday() {
		return holiday;
	}
	public void setHoliday(String holiday) {
		this.holiday = holiday;
	}
	public String getRating() {
		return rating;
	}
	public void setRating(String rating) {
		this.rating = rating;
	}
	public String getService_hour() {
		return service_hour;
	}
	public void setService_hour(String service_hour) {
		this.service_hour = service_hour;
	}
	public String getExplanation() {
		return explanation;
	}
	public void setExplanation(String explanation) {
		this.explanation = explanation;
	}
	public String getSubTitle() {
		return subTitle;
	}
	public void setSubTitle(String subTitle) {
		this.subTitle = subTitle;
	}
	public String getPackage_type() {
		return package_type;
	}
	public void setPackage_type(String package_type) {
		this.package_type = package_type;
	}




	String id;
	String location;
	String theme;
	String category;
	String name;
	String call;
	String homepage;
	String photo;
	String address;
	String holiday;
	String rating;
	String service_hour;
	String explanation;
	String subTitle;
	String package_type;
	
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}
	
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(id);
		dest.writeString(location);
		dest.writeString(theme);
		dest.writeString(category);
		dest.writeString(name);
		dest.writeString(call);
		dest.writeString(homepage);
		dest.writeString(photo);
		dest.writeString(address);
		dest.writeString(holiday);
		dest.writeString(rating);
		dest.writeString(service_hour);
		dest.writeString(explanation);
		dest.writeString(subTitle);
		dest.writeString(package_type);
	}
	
	public static final Parcelable.Creator<Theme> CREATOR 
	= new Parcelable.Creator<Theme>() {
		
		public Theme createFromParcel(Parcel source) {
			String id=source.readString();
			String location=source.readString();
			String theme=source.readString();
			String category=source.readString();
			String name=source.readString();
			String call=source.readString();
			String homepage=source.readString();
			String photo=source.readString();
			String address=source.readString();
			String holiday=source.readString();
			String rating=source.readString();
			String service_hour=source.readString();
			String explanation=source.readString();
			String subTitle=source.readString();
			String package_type=source.readString();
			
			return new Theme(id, location, theme, category, name, call, homepage, photo, address, holiday, rating, service_hour, explanation, subTitle, package_type);
		}

		public Theme[] newArray(int size) {
			// TODO Auto-generated method stub
			return new Theme[size];
		}
	};



	
}
